<?php
/**
 * session & cookie
 */
return [
    //'name'          => '',
    //'path'          => '/',
    //'expire'        => 1440,
    //'handler'       => '',
    //'useCookies'    => true,
    'cookieParams'  => [
        'lifetime'      => 0,   //session.cookie_lifetime
        'path'          => '/',   //session.cookie_path
        'domain'        => '',   //session.cookie_domain
        'secure'        => '',   //session.cookie_secure
        'httponly'      => '',   //session.cookie_httponly
    ],
    'cookie' => [
        'path' => '/',
        'domain' => null,
        'secure' => false,
    ],
    'autoLogin' => [
        'encrypt' => '',
        'allowAutoLogin' => true,
        'authTimeout' => 86400,
        'autoRenewCookie' => true,
    ],
];